package com.hetang.maijiayun.adaptertools.b2cinterface.dangdang.response;

import java.util.List;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.hetang.maijiayun.adaptertools.b2cinterface.dangdang.domain.OrderInfo;
import com.hetang.maijiayun.adaptertools.b2cinterface.dangdang.domain.OrderResult;
import com.hetang.maijiayun.adaptertools.b2cinterface.dangdang.domain.OrderTotalInfo;

public class DdGetOrderResponse extends DdResponse {
	
	private OrderTotalInfo totalInfo;

	@JacksonXmlElementWrapper(useWrapping=true, localName="OrdersList")
	@JacksonXmlProperty(localName="OrderInfo")
	private List<OrderInfo> ordersList;
	
	@JacksonXmlProperty(localName="Result")	
	private OrderResult result;

	public OrderTotalInfo getTotalInfo() {
		return totalInfo;
	}
	
	public void setTotalInfo(OrderTotalInfo totalInfo) {
		this.totalInfo = totalInfo;
	}
	
	public List<OrderInfo> getOrdersList() {
		return ordersList;
	}
	
	public void setOrdersList(List<OrderInfo> ordersList) {
		this.ordersList = ordersList;
	}
}